package com.alan.libapi.model.business;

/**
 * @className: UserInfo
 * @describtion: UserInfo
 * @author: AlanWang
 * @email: 850267876@qq.com
 * @time: 2016/4/18 01:05
 */
public class UserInfo {

    /**
     *  用户名称
     */
    private String userName;

    /**
     * 用户余额
     */
    private float userRemainMoney;

    /**
     * 用户当月套餐类型
     */
    private int userPackageType;

    /**
     * 用户绑定的Id，如果没有绑定则为0
     */
    private int deviceId;

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public float getUserRemainMoney() {
        return userRemainMoney;
    }

    public void setUserRemainMoney(float userRemainMoney) {
        this.userRemainMoney = userRemainMoney;
    }

    public int getUserPackageType() {
        return userPackageType;
    }

    public void setUserPackageType(int userPackageType) {
        this.userPackageType = userPackageType;
    }

    public int getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(int deviceId) {
        this.deviceId = deviceId;
    }

    @Override
    public String toString() {
        return "UserInfo{" +
                "userName='" + userName + '\'' +
                ", userRemainMoney=" + userRemainMoney +
                ", userPackageType=" + userPackageType +
                ", deviceId=" + deviceId +
                '}';
    }
}
